<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<title>Edit ${entity.name} Profile</title>
	</head>

	<body>
		
		<table width="100%" border="0" align="center">
			<tr>
				<td width="20%"> </td>
				<td width="20%"> </td>
				<td width="20%"> </td>
				<td	width="40%"> </td>
			</tr>
		</table>
		<table width="100%" border="0" align="center">
			<tr>
				<td colspan="4">
					<br />
					<br />
					<br />
					<br />
				</td>
			</tr>

			<tr>
		    	<td width="20%" valign="top">
					<table width="100%" border="0">
						<tr>
							<td>
								&nbsp;
							</td>
						</tr>
					</table>
				</td>
				<td width="5%"> </td>
				<td width="45%" align="center">
					<table border="0" width="100%">
						<tr>
							<td>
								<table width="100%" border="0" bgcolor="FFFFFF">
									<tr>
										<td>
											<form:form method="post" commandName="user">
												
												<table width="100%" border="0">
													<tr>
														<td width="10%"></td>
														<td colspan="2" width="90%">
															<font color="red">
																<form:errors path="*" />
															</font>
														</td>
													</tr>
													<tr>
														<td width="10%"></td>
														<td width="20%">
															First Name <font color="#FF0000">*</font>
														</td>
														<td width="70%">
															<form:input path="firstName" size="50" maxlength="50" />
														</td>
													</tr>
													<tr>
														<td width="10%"></td>
														<td width="20%">
															Last Name <font color="#FF0000">*</font>
														</td>
														<td width="70%">
															<form:input path="lastName" size="50" maxlength="50" />
														</td>
													</tr>
													<tr>
														<td width="10%"></td>
														<td width="20%">
															User Name <font color="#FF0000">*</font>
														</td>
														<td width="70%">
															<form:input path="username" size="50" />
														</td>
													</tr>

													<tr>
														<td width="10%"></td>
														<td width="20%">
															Password <font color="#FF0000">*</font>
														</td>
														<td width="70%">
															<form:password path="password" size="50" />
														</td>
													</tr>

													<tr>
														<td width="10%"></td>
														<td width="20%">
															Email Address <font color="#FF0000">*</font>
														</td>
														<td width="70%">
															<form:input path="contactInfo.emailAddress" size="50" />
														</td>
													</tr>

													<tr>
														<td width="10%"></td>
														<td width="20%">
															Home Phone 
														</td>
														<td width="70%">
															<form:input path="contactInfo.homePhone" size="50"/>
														</td>
													</tr>

													<tr>
														<td width="10%"></td>
														<td width="20%">
															Work Phone
														</td>
														<td width="70%">
															<form:input path="contactInfo.workPhone" size="50"/>
														</td>
													</tr>
													
													<tr>
														<td width="10%"></td>
														<td width="20%">
															Mobile Phone
														</td>
														<td width="70%">
															<form:input path="contactInfo.mobilePhone" size="50"/>
														</td>
													</tr>
													
													<tr>
														<td width="10%"></td>
														<td width="20%">
															Fax Number
														</td>
														<td width="70%">
															<form:input path="contactInfo.faxNumber" size="50"/>
														</td>
													</tr>
													
													<tr>
														<td width="10%"></td>
														<td width="20%">
															Website
														</td>
														<td width="70%">
															<form:input path="contactInfo.website" size="50"/>
														</td>
													</tr>
													
													<tr>
														<td width="10%"></td>
														<td width="20%">
															Date of Birth <font color="#FF0000">*</font>
														</td>
														<td width="70%">
															<form:input path="dateOfBirth" size="50"/>
														</td>
													</tr>
													<tr>
														<td width="10%"></td>
														<td width="20%">
															Sex <font color="#FF0000">*</font>
														</td>
														<td width="70%">
															<form:radiobutton path="sex" value="M" />
															Male 
															<form:radiobutton path="sex" value="F" />
															Female 
														</td>
													</tr>

													<tr>
														<td width="10%"></td>
														<td width="20%">
															House Number
														</td>
														<td width="70%">
															<form:input path="address.number" size="50"/>
														</td>
													</tr>
													
													
													<tr>
														<td width="10%"></td>
														<td width="20%">
															Street Address
														</td>
														<td width="70%">
															<form:input path="address.street" size="50"/>
														</td>
													</tr>
													<tr>
														<td width="10%"></td>
														<td width="20%">
															Suburb
														</td>
														<td width="70%">
															<form:input path="address.suburb" size="50"/>
														</td>
													</tr>
													<tr>
														<td width="10%"></td>
														<td width="20%">
															City
														</td>
														<td width="70%">
															<form:input path="address.city" size="50"/>
														</td>
													</tr>
													<tr>
														<td width="10%"></td>
														<td width="20%">
															State
														</td>
														<td width="70%">
															<form:input path="address.state" size="50"/>
														</td>
													</tr>
													<tr>
														<td width="10%"></td>
														<td width="20%">
															Postcode
														</td>
														<td width="70%">
															<form:input path="address.postcode" size="50"/>
														</td>
													</tr>
													<tr>
														<td width="10%"></td>
														<td width="20%">
															Country <font color="#FF0000">*</font>
														</td>
														<td width="70%">
															<form:input path="address.country" size="50"/>
														</td>
													</tr>
													<tr>
														<td width="10%"></td>
														<td colspan="2" width="90%" align="center">
															<input type="submit" value="Submit"/>
														</td>
													</tr>
												</table>
											</form:form>											
										</td>
									</tr>
								</table>
							
							</td>
						</tr>
					</table>
				</td>
				<td width="30%"> </td>
			</tr>
		</table>

	</body>
</html>
